endValue
Type
property
Summary
Specifies the value corresponding to a scrollbar's end position.
Syntax
set the endValue of <scrollbar> to <number>
Description
Use the startValue and endValue properties to set the scale of the scrollbar.
If the style of the scrollbar is scale, the endValue is the value of the thumbPosition when the scrollbar thumb is all the way to the bottom (for a vertical scrollbar) or right (for a horizontal scrollbar).
If the style of the scrollbar is "scrollbar" or "progress", then when the scrollbar thumb is all the way to the end of the scrollbar, the thumbPosition is the scrollbar's endValue minus the thumbSize.
Setting the endValue to a value less than the scrollbar's thumbSize locks the scrollbar thumb to the top (or left) of the scrollbar, preventing scrolling.
Examples
set the endValue of last scrollbar to 100
Related
message: scrollbarLineInc
object: scrollbar
property: showValue, properties, thumbSize, thumbPosition
constant: scrollbarFactor
function: value
glossary: scrollbar thumb, lock, property
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile